home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 62 / Quick PC 62.iso / I386 / IIS5_01.CAB / IIS_Form_VBScript.asp < prev    next >
Encoding:
Text File  |  1998-05-29  |  1.1 KB  |  43 lines

  1. <%@ Language = VBScript %>
  2. <% Option Explicit %>
  3.  
  4. <!*************************
  5. This sample is provided for educational purposes only. It is not intended to be 
  6. used in a production environment, has not been tested in a production environment, 
  7. and Microsoft will not provide technical support for it. 
  8. *************************>
  9.  
  10. <HTML>
  11.     <HEAD>
  12.         <TITLE>Form Posting</TITLE>
  13.     </HEAD>
  14.  
  15.     <BODY BGCOLOR="White" TOPMARGIN="10" LEFTMARGIN="10">
  16.         
  17.         <!-- Display header. -->
  18.  
  19.         <FONT SIZE="4" FACE="ARIAL, HELVETICA">
  20.         <B>Form Posting</B></FONT><BR>   
  21.  
  22.         <HR>
  23.  
  24.         <P>This page will take the information entered in
  25.         the form fields, and use the POST method to
  26.         send the data to an ASP page.
  27.  
  28.         <FORM NAME=Form1 METHOD=Post ACTION="Form_VBScript.asp">
  29.  
  30.             First Name: <INPUT TYPE=Text NAME=fname><P>
  31.             Last Name: <INPUT TYPE=Text NAME=lname><P>
  32.  
  33.             <INPUT TYPE=Submit VALUE="Submit">
  34.  
  35.         </FORM>
  36.  
  37.         <HR>
  38.  
  39.         <% Response.Write Request.form("fname")%> <BR>
  40.         <% Response.Write Request.form("lname")%> <BR>
  41.     </BODY>
  42. </HTML>
  43.